package com.mt.api.modules.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: plover
 * @Date: 2022/06/01 11:50
 * @Description:
 */
@Data
public class ProductStatByCargoVo {
    /**
     * 款号id
     */
    private Integer cargoId;
    /**
     * 款号
     */
    private String cargoNo;
    /**
     * 权重
     */
    private Integer weight;

    @ApiModelProperty(value = "图片地址")
    private String picUrl;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "采购价")
    private String purchasePrice;

    @ApiModelProperty(value = "批发价")
    private String retailPrice;

    @ApiModelProperty(value = "入库金额")
    private String amount;

    @ApiModelProperty(value = "采购数量")
    private Integer qty = 0;

    @ApiModelProperty(value = "入库数量")
    private Integer instoreQty = 0;

    @ApiModelProperty(value = "未入库数量")
    private Integer unInstoreQty = 0;

    /**
     * 采购记录
     */
    private List<ProductStatByCargoVo.ProductRecord> productRecordList;

    @Data
    public static class ProductRecord {
        /**
         * 采购时间
         */
        private String productDate;

        /**
         * 采购数量
         */
        private Integer qty;

    }
}
